.single-field-component {
  .field-container {
    position: relative;
    .single-field-item {
      position: absolute;
      width: 100%;
      margin-bottom: 16px;

      .ant-select-arrow {
        display: none;
      }

      .single-link-box {
        border: 1px solid #e1e2e3;
        border-radius: 4px;
        padding: 15px 15px;

        .title-and-delete {
          display: flex;
          justify-content: space-between;
          margin-bottom: 10px;
          .title {
            color: #0A0F1E;
            font-size: 16px;
            font-weight: 500;
          }
          .anticon {
            &:hover {
              cursor: pointer;
              color: #FF6680;
            }
          }
        }
        .add-style {
          user-select: none;
          color: $default-color;
          cursor: pointer;
          .anticon {
            font-weight: 600;
          }
        }
        .tip-style {
          user-select: none;
          color: $font-disabled;
        }
      }
      .ant-form-item {
        &:last-child {
          margin-bottom: 0;
        }
      }
    }
  }
  .fields-area {
    .wrapped-data-dropped-item {
      transition: background, color ease 0.3s;
      user-select: none;
      cursor: pointer;
      position: relative;
      display: inline-block;
      height: 24px;
      padding: 4px 8px 4px 10px;
      background: #F7F8FA;
      border: 1px solid #F7F8FA;
      border-radius: 14px;
      font-size: 12px;
      color: #1E2126;
      text-align: left;
      line-height: 16px;
      margin-right: 8px;
      margin-bottom: 8px;

      .anticon-close {
        margin-left: 2px;
        font-size: 12px;
        cursor: pointer;
        color: #CDD7EC;

        &:hover {
          color: #FF6680;
        }
      }
      .anticon-down {
        display: none;
        margin-right: 2px;
        font-size: 12px;
        cursor: pointer;
        color: #7E97C5;
      }
      &:hover {
        border: 1px solid #4B8DFF;
      }

    }
  }
}

.choose-main-link-field-modal {
  .category-radio-name {
    font-size: 16px;
    font-weight: 500;
  }
  .single-category {
    margin-bottom: 16px;
  }
  .ant-radio-wrapper {
    margin-bottom: 8px;
  }
}

.choose-link-field-modal {
  .custom-report-data-content {
    position: relative;
    border: 1px solid #CDD7EC;
    padding: 8px 12px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    border-radius: 4px;

    .link-title {
      line-height: 24px;
      flex-shrink: 0;
      margin-right: 8px;
    }
    .link-list {
      width: 100%;
      position: relative;
      margin-bottom: -8px;
    }
    .place-holder {
      position: absolute;
      text-align: center;
      user-select: none;
      font-size: 14px;
      color: #C2C2C2;
      line-height: 16px;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
  }
  .title-line {
    margin: 16px 0;
    display: flex;
    justify-content: space-between;

    .title {
      line-height: 28px;
      font-size: 16px;
      font-weight: 500;
      color: #0A0F1E;
      margin-right: 12px;
    }
    .list-title {
      font-size: 14px;
      color: $font-disabled;
      line-height: 28px;
    }
    .input-search {
      .ant-input-search-icon {
        color: #B5C0CE;
      }
      .ant-input {
        height: 26px;
      }
    }
  }

  .attr-list-box {
    height: 350px;
    overflow: auto;
    position: relative;

    .muuri-list-box {
      position: relative;
    }

    .wrapped-data-dropped-item {
      margin-right: 8px;
      margin-bottom: 8px;
      &:hover {
        .anticon-close {
          visibility: hidden;
          opacity: 0;
        }
        border: 1px solid #F7F8FA;
      }
      .anticon-close, .anticon-down {
        visibility: hidden;
        opacity: 0;
      }
    }

  }

  .muuri-item-placeholder-attr {
    background-color: #D2E1FA;
    border-radius: 14px;
  }

  .wrapped-data-dropped-item {
    transition: background, color ease 0.3s;
    user-select: none;
    cursor: pointer;
    position: absolute;
    display: inline-block;
    height: 24px;
    padding: 4px 8px;
    background: #F7F8FA;
    border: 1px solid #F7F8FA;
    border-radius: 14px;
    font-size: 12px;
    color: #1E2126;
    text-align: left;
    line-height: 16px;
    margin-right: 8px;
    margin-bottom: 8px;

    .anticon-close {
      margin-left: 2px;
      font-size: 12px;
      cursor: pointer;
      color: #CDD7EC;

      &:hover {
        color: #FF6680;
      }
    }
    .anticon-down {
      margin-right: 2px;
      font-size: 12px;
      cursor: pointer;
      color: #7E97C5;
    }
    &:hover {
      border: 1px solid #4B8DFF;
    }

    &.disabled-field {
      cursor: not-allowed;
      color: #B5C0CE;
    }

    &.high-light {
      background: #E0EAFF;
      color: #1F70FC;
      font-weight: 500;
    }

  }

}

#custom-report-drag-container {
  width: calc(100% - 140px);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20000;
  .muuri-item-dragging-attr {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.15);
    z-index: 2000;
  }
  .muuri-item-releasing-attr {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.15);
    z-index: 2000;
  }
  .wrapped-data-dropped-item {
    user-select: none;
    cursor: pointer;
    position: absolute;
    display: inline-block;
    height: 24px;
    padding: 4px 8px;
    background: #F7F8FA;
    border: 1px solid #F7F8FA;
    border-radius: 14px;
    font-size: 12px;
    color: #1E2126;
    text-align: left;
    line-height: 16px;
    margin-right: 8px;
    margin-bottom: 8px;

    .anticon-close, .anticon-down {
      visibility: hidden;
      opacity: 0;
    }
    &:hover {
      .anticon-close {
        visibility: hidden;
        opacity: 0;
      }
      border: 1px solid #F7F8FA;
    }
  }
}
